package org.fhm.zdte.common.ability;

/**
 * The interface implemented by the client side.
 * <p>When client A attempts to establish a request with client B and exceeds the configured timeout period,
 * execute the program implemented by the <b>IRequestTimeout</b> interface.</p>
 *
 * @author 谭波
 * @since 2024/3/31
 */
public interface IRequestTimeout {

    /**
     * Runs when the request time out.
     *
     * @param target        The target user number
     * @param messageNumber The message number.
     */
    void connectTimeoutRun(String target, String messageNumber);
}
